History of changes:

Changes since last published version from 07/02/2024:
- New version of the OpenAPI specification file (cashdeclarations-3.0.0.txt to be renamed with yaml extension)
  - Nullable date fields: empty string "" for dates are not supported anymore to comply with RFC3339. The null value should be used instead.
  - The patterns definition are now expressed in a PCR compliant way for API gateway. No changes have been made on the patterns definitions themselves.
  - The length of company registration number is reduced from 100 to 50. There should be no impact as previously, the backend was already rejecting company registration bigger than 50 characters.
  - The length of the identification number in the search API is reduced from 100 to 50.
  - Since modusOperandi and concealmentType were always mandatory in infraction section, the minimal number of items is now set to 1 in the yaml file. 
  - New urls for the B2B OpenAPI. It is highly recommended to switch to the new urls for the B2B OpenAPI.
  - Old urls remain compatible for existing callers.
- New version of AFIS B2B technical specifications document (AFIS B2B technical specifications v3.0.pdf)
  - The connection should use the standard OAuth2 protocol. 
- Updated version of AFIS B2B technical specification legacy document:
  - AFIS B2B technical specifications with DPOP v3.0.pdf - [Deprecated]
  - AFIS B2B technical specifications without DPOP v3.0.pdf - [Soon to be Deprecated]
  - Existing connections using the OAuth2 protocol with DPoP will continue to be supported.
  - For backward compatibility, DPoP headers will continue to be accepted; however, DPoP validation is no longer performed.
- Updated on-boarding document for Testing(QA) to include new URLs (using OAuth2 protocol) (AFIS CIS Cash B2B - On-boarding testingQA without DPoP v2.0.pdf).
  - newURLS using OAuth2 protocol
- Updated on-boarding document for Production to include new URLs (AFIS CIS Cash B2B - On-boarding production without DPoP v2.0.pdf)
- For security reasons:
  - The API gateway enforces strict OpenAPI validation in accordance with the RFC, which may impact how payloads are validated and accepted. Request payloads must strictly conform to the data types and structures defined in the API contract.
For example, optional fields must be omitted when not used and cannot be sent as empty strings or null values unless explicitly defined as nullable in the API specification.
  - By mistake in the previous version, it was possible not sending mandatory fields containing Boolean values.  In this case, the application used a default value.  For security reasons, validation has been enforced, the impact is that mandatory fields containing Boolean values must now be sent.
- New version of the user manual
  - The UI interface has been updated with a refreshed look and feel, with no changes to existing features or functionality. 
  - The updated user manual can be downloaded from the AFIS Portal.

Changes since last published versions from 21/04/2023:
- The last update date is now included in the response returned by the B2B Get operation.
  The change impacts:
   - the technical specifications for CIS B2B and XML Import for Cash (AFIS CIS Cash technical specifications v1.10.pdf)
   - the yaml file for B2B service to get declarations (cashDeclarations 2.8.yaml)

Changes since last published versions from 01/02/2023:
- New version of the OpenAPI yaml file (cashdeclarations-2.7.yaml)
  - The type of the field "quantity" of the object "CashDetail" has been changed from "integer" to "integer/int64, maximum 99999999999999"

Changes since last published versions from 30/09/2022:
- Modus operandi and concealment type are now multi select values. The change is backward compatible i.e. existing calls with single value are not affected by the change and will continue to work as expected.
  The change impacts:
   - the technical specifications for CIS B2B and XML Import for Cash (AFIS CIS Cash technical specifications v1.9.pdf)
   - the technical specifications for UI interface (AFIS Cash data model and fields v1.5.pdf)
   - the XSD schema for XML import
   - the yaml file for B2B service to insert/search/get declarations (cashDeclarations 2.6.yaml)





